import { ArrayNotEmpty, IsArray, IsInt, IsNotEmpty, Min } from "class-validator";
import { Type } from "class-transformer";

export class DeleteUserDto {
  @IsArray()
  @ArrayNotEmpty()
  @Type(()=>Number)
  @IsInt({each: true})
  @Min(1,{each: true})
  ids: number[]
}